<!--
 * @Description: font
 * @Author: rendc
 * @Date: 2022-09-21 09:16:01
 * @LastEditors: rendc
 * @LastEditTime: 2022-09-21 11:04:19
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>font</title>
  <style>
    @font-face {
      font-family: "阿里巴巴普惠体";font-weight: 250;src: url("./font/KBb4SrHllGJBF1ig9H2v5.woff2") format("woff2"),
      url("./font/KBb4SrHllGJBF1ig9H2v5.woff") format("woff");
      font-display: swap;
    }
    /* CDN 服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
    @font-face {
      font-family: "站酷高端黑 Regular";font-weight: 400;src: url("https://at.alicdn.com/wf/webfont/uLZcRgrrLEv3/nY8pDS6XtQ1dzNjZF0vfv.woff2") format("woff2"),
      url("https://at.alicdn.com/wf/webfont/uLZcRgrrLEv3/0DBAMmvbe4UilcQ8g3WQb.woff") format("woff");
      font-display: swap;
    }
    body{
      font-family: "站酷高端黑 Regular";
    }
    #main > :first-child{
      /* font-size: 12px; 最小12px 如果还想要小一点 可以用动画的缩放 */
      /* font-weight: normal; */
      font-weight: lighter;
      /* 100-900 400为正常*/
      font-style: italic;
      text-align: center;
      text-align: right;
      text-align: center;
      /* vertical-align: bottom; */
      line-height: 200px;
      height: 200px;
      border: 1px solid yellowgreen;
    }
    #main > :nth-child(2){
      /* font-size: 12px; 最小12px 如果还想要小一点 可以用动画的缩放 */
      /* font-weight: normal; */
      font-weight: bold;
      font-style: italic;
      /* 100-900 400为正常*/
    }
    #main > :nth-child(3){
      /* text-transform: uppercase; */
      text-transform: capitalize;
      text-decoration: underline double;
      text-decoration: overline;
      text-decoration: line-through double red;
      text-decoration-style: wavy;
    }
    #main > :nth-child(4){
      text-transform: lowercase;
    }

    #main > :nth-child(5){
      text-shadow: 2px 2px 1px red;

    }
    
    #main > :last-child{
      /* CDN 服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
      font-family: "站酷高端黑 Regular";
    }
  </style>
</head>
<body>
  <div id="main">
    <div id="div1">hello</div>
    <div>hello</div>
    <div>hello</div>
    <div>Hello World</div>
    <div>hello</div>
    <div>hello ABCDE 预览文字 阿里巴巴普惠体</div>
  </div>
</body>
</html>